package com.ps.pojo.dept;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import com.ps.pojo.salary.SalarySetOfBooks;

/**
 * WorkPosition entity. @author MyEclipse Persistence Tools
 */

public class WorkPosition implements java.io.Serializable {

	// Fields

	private Integer wpId;
	private Department department;
	private String name;
	private Integer salarySetOfBooksId;
	private SalarySetOfBooks salarySetOfBooks;
	private Integer performanceScore;
	private String remark;
	private Integer inputerId;
	private Timestamp inTime;
	private Integer formationNum;
	//private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public WorkPosition() {
	}

	/** minimal constructor */
	public WorkPosition(String name, Integer performanceScore, Integer inputerId) {
		this.name = name;
		this.performanceScore = performanceScore;
		this.inputerId = inputerId;
	}

	/** full constructor */
	public WorkPosition(Department department, String name,
			Integer salarySetOfBooksId, Integer performanceScore,
			String remark, Integer inputerId, Timestamp inTime) {
		this.department = department;
		this.name = name;
		this.salarySetOfBooksId = salarySetOfBooksId;
		this.performanceScore = performanceScore;
		this.remark = remark;
		this.inputerId = inputerId;
		this.inTime = inTime;

	}

	// Property accessors

	public Integer getWpId() {
		return this.wpId;
	}

	public void setWpId(Integer wpId) {
		this.wpId = wpId;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSalarySetOfBooksId() {
		return this.salarySetOfBooksId;
	}

	public void setSalarySetOfBooksId(Integer salarySetOfBooksId) {
		this.salarySetOfBooksId = salarySetOfBooksId;
	}

	public Integer getPerformanceScore() {
		return this.performanceScore;
	}

	public void setPerformanceScore(Integer performanceScore) {
		this.performanceScore = performanceScore;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getInputerId() {
		return this.inputerId;
	}

	public void setInputerId(Integer inputerId) {
		this.inputerId = inputerId;
	}

	public Timestamp getInTime() {
		return this.inTime;
	}

	public void setInTime(Timestamp inTime) {
		this.inTime = inTime;
	}

	public void setFormationNum(Integer formationNum) {
		this.formationNum = formationNum;
	}

	public Integer getFormationNum() {
		return formationNum;
	}

	public void setSalarySetOfBooks(SalarySetOfBooks salarySetOfBooks) {
		this.salarySetOfBooks = salarySetOfBooks;
	}

	public SalarySetOfBooks getSalarySetOfBooks() {
		return salarySetOfBooks;
	}

/*	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}*/

}